/*
 * Copyright [duowan.com]
 * Web Site: http://www.duowan.com
 * Since 2005 - 2014
 */

package com.duowan.realtime.service;

import java.util.List;

import com.duowan.common.util.page.Page;
import com.duowan.realtime.model.OverviewComputingGroup;
import com.duowan.realtime.query.OverviewComputingGroupQuery;


/**
 * [OverviewComputingGroup] 的业务操作
 * 
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
 */
public interface OverviewComputingGroupService {

	/** 
	 * 创建OverviewComputingGroup
	 **/
	public OverviewComputingGroup create(OverviewComputingGroup overviewComputingGroup);
	
	/** 
	 * 更新OverviewComputingGroup
	 **/	
    public OverviewComputingGroup update(OverviewComputingGroup overviewComputingGroup);
    
	/** 
	 * 删除OverviewComputingGroup
	 **/
    public void removeById(String computingGroup, String partition);
    
	/** 
	 * 根据ID得到OverviewComputingGroup
	 **/    
    public OverviewComputingGroup getById(String computingGroup, String partition);
    
	/** 
	 * 分页查询: OverviewComputingGroup
	 **/      
	public Page<OverviewComputingGroup> findPage(OverviewComputingGroupQuery query);
	
	public List<OverviewComputingGroup> getAll();
}
